﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NRemedy
{
    public class GeneratePropertyFactory : IGeneratePropertyFactory
    {
        public IGenerateProperty getGeneratePropertyCreate(ARType arType)
        {
            if (arType == ARType.SelectionField)
            {
                return new GenerateSelectionProperty();
            }
            else if (arType == ARType.DiaryField)
            {
                return new GenerateDiaryProperty();
            }
            else
            {
                return new GenerateProperty();
            }
        }
    }
}
